class Shop::ActivitiesController < ShopController
  def index
    params[:state] ||= :state
    @activities = Activity.where(state: params[:state]).order("created_at DESC").page(params[:page]).per(params[:per])
  end

  def show
    @activity = Activity.find params[:id]
  end
end
